﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Flow_NewApply" validateRequest=false  Codebehind="NewApply.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
     <link href="../css.css" rel="stylesheet" type="text/css" />
		<script language="javascript" src="../../Js/calendar.js" type="text/javascript"></script>
		<link href="../UserWork/HtmlEditor/site.css" type="text/css" rel="stylesheet" />
		<script src="../UserWork/HtmlEditor/edit.js" type="text/javascript" charset="GB2312"></script>
</head>
<body>
    <form id="form1" runat="server" name="form1">
     <script type="text/javascript">
<!--
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
// -->
</script>
    <table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%">
		<tr height="30">
			<td width="3%" background="../Images/topbg.jpg" align=center><IMG height="16" src="../Images/icon/right.GIF"></td>
			<td background="../Images/topbg.jpg" width="80"><b>起草新申请</b></td>
			<TD background="../Images/topbg.jpg" align="right">
			</TD>
		</tr>
	</table>
	
	<table width=100% cellpadding=0 cellspacing=0 border=0 align=center>
        <tr>
            <td style="height: 31px"></td>
        </tr>
        <tr>
        <td align="center">
            <table style="width: 649px;">
            <tr>
            <td style="width: 98px; height: 39px;" align="center">流程选择：</td>
            <td style="height: 39px" align="left">
                <asp:DropDownList ID="drpFltype" runat="server" Width="126px" OnSelectedIndexChanged="drpFltype_SelectedIndexChanged" AutoPostBack="True">
                </asp:DropDownList>
                &nbsp;&nbsp;
                <asp:DropDownList ID="drpFlow" runat="server" Width="76px">
                </asp:DropDownList></td>
            </tr>
                <tr>
                    <td style="width: 98px; height: 37px;" align="center">
                        紧急程度：</td>
                    <td style="width: 100px; height: 37px;" align="left">
                        <asp:DropDownList ID="drpUrgent" runat="server" Width="85px">
                            <asp:ListItem Value="1">重要</asp:ListItem>
                            <asp:ListItem Value="0">一般</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 98px; height: 37px;" align="center">
                        主 &nbsp; 题：</td>
                    <td style="width: 100px; height: 37px;" align="left">
                        <asp:TextBox ID="txtTitle" runat="server" Width="455px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        附 &nbsp; 件：</td>
                    <td align="left">
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="465px" /></td>
                </tr>
                <tr>
                    <td style="width: 98px" align="center">
                        内容：</td>
                    <td style="width: 100px">
                         <script language="javascript" type="text/javascript">
    var HtmlEditor_codeState=false;
</script>



<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td colspan="2">
            <div id="HtmlEditor_Toolbars" style="background-color: #F2F6FB;">
    <div style="height: 26px; width: 574px;">
        &nbsp; <span>
            <img src="../UserWork/HtmlEditor/image/Aleft.gif" onclick="FormatText('Justifyleft', '')" style="cursor: hand;"
                alt="左对齐" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/Acenter.gif" border="0" alt="居中" onclick="FormatText('JustifyCenter', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/Aright.gif" onclick="FormatText('JustifyRight', '')" style="cursor: hand;"
                alt="右对齐" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/list.gif" border="0" alt="项目符号" onclick="FormatText('InsertUnorderedList', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/num.gif" alt="编号" border="0" onclick="FormatText('insertorderedlist', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/outdent.gif" onclick="FormatText('Outdent', '')" style="cursor: hand;"
                alt="回退" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/indent.gif" border="0" alt="缩进" onclick="FormatText('indent', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/url.gif" border="0" alt="超级链接" onclick="FormatText('createLink')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/nourl.gif" border="0" alt="取消超级链接" onclick="FormatText('unLink')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/htm.gif" border="0" style="cursor: hand;" alt="插入网页" language="javascript"
                onclick="iframe()" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/table.gif" border="0" style="cursor: hand;" alt="插入表格"
                language="javascript" onclick="fortable()" onmouseover="this.style.background='#A9A9FA'"
                onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/flash.gif" border="0" style="cursor: hand;" alt="插入FLASH"
                language="javascript" onclick="swf()" onmouseover="this.style.background='#A9A9FA'"
                onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/wmv.gif" border="0" style="cursor: hand;" alt="插入视频文件"
                language="javascript" onclick="wmv()" onmouseover="this.style.background='#A9A9FA'"
                onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/img.gif" border="0" style="cursor: hand;" alt="插入网上图片，支持格式为：gif、jpg、bmp"
                language="javascript" onclick="wzpic()" onmouseover="this.style.background='#A9A9FA'"
                onmouseout="this.style.background=''" />
        </span><span></span>
    </div>
    <div style="height: 26px">
        &nbsp; <span>
            <img src="../UserWork/HtmlEditor/image/selectall.gif" border="0" alt="全部选择" onclick="FormatText('selectall')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/font.gif" border="0" alt="字体" onclick="ShowMenu('font',50)"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;&nbsp;&nbsp;&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/fontsize.gif" border="0" alt="字体大小" onclick="ShowMenu('fontsize',230)"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/forecolor.gif" border="0" alt="字体颜色" onclick="selcolor('ForeColor')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/BackColor.gif" border="0" alt="背景颜色" onclick="selcolor('BackColor')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/bold.gif" alt="粗体" onclick="FormatText('bold', '')" style="cursor: hand;"
                onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/italic.gif" alt="斜体" onclick="FormatText('italic', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/underline.gif" alt="下划线" onclick="FormatText('underline', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/sup.gif" border="0" alt="上标" onclick="FormatText('superscript')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/sub.gif" border="0" alt="下标" onclick="FormatText('subscript')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/clear.gif" border="0" alt="删除文字格式" onclick="FormatText('RemoveFormat')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/line.gif" alt="普通水平线" border="0" onclick="FormatText('InsertHorizontalRule', '')"
                style="cursor: hand;" onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span>&nbsp;<span>
            <img src="../UserWork/HtmlEditor/image/sline.gif" alt="特殊水平线" border="0" onclick="hr()" style="cursor: hand;"
                onmouseover="this.style.background='#A9A9FA'" onmouseout="this.style.background=''" />
        </span><span></span>
    </div>
    <div id="menuDiv" style="z-index: 1000; visibility: hidden; width: 1px; position: absolute;
        height: 1px; background-color: #B9CBF7">
    </div>
</div>

            <iframe id="message" marginwidth="0" marginheight="0" width="100%" height="250px"
                style="border-style: solid; border-width: 1px; border-color: Gray; border-bottom-width:0px;" frameborder="0">
            </iframe>
        </td>
    </tr>
    <tr style="background: #DCDCDC">
        <td style="width: 80%; height: 23px">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="HtmlEditor_On" id="HtmlEditor_Design" onclick="if (HtmlEditor_codeState) {WBTB_setMode();}"
                        style="width: 40px;">
                        <img alt="设计" src="../UserWork/HtmlEditor/image/modeedit.gif" />
                    </td>
                    <td class="HtmlEditor_Off" id="HtmlEditor_Html" onclick="if (!HtmlEditor_codeState) {WBTB_setMode();}"
                        style="width: 40px">
                        <img alt="代码" src="../UserWork/HtmlEditor/image/modecode.gif" />
                    </td>
                    <td class="HtmlEditor_Off" id="HtmlEditor_View" onclick="WBTB_View('UTF-8');" style="width: 40px;">
                        <img alt="预览" src="../UserWork/HtmlEditor/image/modepreview.gif" />
                    </td>
                    <td>
                        &nbsp;提示:回车换行请用[Shift]+[Enter]</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </td>
        <td style="width: 20%">
            <a title="内容框增大" style="font-size: 15pt" onclick="document.getElementById('message').height=parseInt(document.getElementById('message').height)+290"
                href="#">
                <img alt="" height="20" src="../UserWork/HtmlEditor/image/jia.gif" width="20" style="border: 0" /></a>
            &nbsp;&nbsp; <a title="内容框减小" style="font-size: 15pt" onclick="if(parseInt(document.getElementById('message').height)>(300+85)){document.getElementById('message').height=parseInt(document.getElementById('message').height)-300}"
                href="#">
                <img alt="" height="20" src="../UserWork/HtmlEditor/image/jian.gif" width="20" style="border: 0" /></a>
        </td>
    </tr>
</table>
<input name="HtmlEditor1$HtmlEditorContent" type="hidden" id="HtmlEditor1_HtmlEditorContent" runat="server" />
<script language="javascript" type="text/javascript">
    function setContent()
    {
        if(HtmlEditor_codeState==true)
        {
            WBTB_setMode();
        }
        document.getElementById("HtmlEditor1_HtmlEditorContent").value = message.document.body.innerHTML ;
    }
	HtmlEditor_InitDocument("HtmlEditor1_HtmlEditorContent", "UTF-8");
</script>
</td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="height: 37px">
                        <input type="submit" name="bnSave"  value="保 存" onclick="setContent()" class="BnCss" id="Submit1" runat="server" onserverclick="Submit1_ServerClick" />&nbsp;
                        &nbsp;
                        <asp:Button ID="btnSend" runat="server" class="BnCss" Text="发送"  OnClick="btnSend_Click" />
                        &nbsp;&nbsp; &nbsp;<asp:Button ID="btnReset" runat="server" class="BnCss" Text="重置" />
                        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;</td>
                </tr>
            </table>
        </td>
        </tr>
	</table>
	<script type="text/javascript">
<!--
var Page_ValidationActive = false;
if (typeof(ValidatorOnLoad) == "function") {
    ValidatorOnLoad();
}

function ValidatorOnSubmit() {
    if (Page_ValidationActive) {
        return ValidatorCommonOnSubmit();
    }
    else {
        return true;
    }
}
// -->
</script>

    </form>
</body>
</html>
